import request from '@/utils/request';
// 打印模板新增
export const printAdd = params => request({
    url: '/business/print/template/add',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 打印模板删除
export const printDel = params => request({
    url: '/business/print/template/del',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 打印模板详情
export const printDetail = params => request({
    url: '/business/print/template/get',
    method: 'GET',
    params
}).then(res => {
    return res;
});
// 打印模板列表
export const printList = params => request({
    url: '/business/print/template/list',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 打印模板更新
export const printUpdate = params => request({
    url: '/business/print/template/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 打印模板更新
export const printStatusUpdate = params => request({
    url: '/business/print/template/status/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
